﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO {
    public class HoaDonBanSachDTO {
        private int _idHoaDonBanSach;
        private int _idKhachHang;
        private string _maHoaDonBanSach;
        private DateTime _ngayLap;
        private int _tongGia;

        public int TongGia {
            get {
                return _tongGia;
            }
            set {
                _tongGia = value;
            }
        }

        public DateTime NgayLap {
            get {
                return _ngayLap;
            }
            set {
                _ngayLap = value;
            }
        }

        public string MaHoaDonBanSach {
            get {
                return _maHoaDonBanSach;
            }
            set {
                _maHoaDonBanSach = value;
            }
        }

        public int IDKhachHang {
            get {
                return _idKhachHang;
            }
            set {
                _idKhachHang = value;
            }
        }

        public int IDHoaDonBanSach {
            get {
                return _idHoaDonBanSach;
            }
            set {
                _idHoaDonBanSach = value;
            }
        }
    }

    public class HoaDonBanSachColumn {
        public static string IDHoaDonBanSach{
            get {
                return "IDHoaDonBanSach";
            }
        }

        public static string IDKhachHang {
            get {
                return "IDKhachHang";
            }
        }

        /// <summary>
        /// ma hoa don
        /// </summary>
        public static string MaHoaDonBanSach {
            get {
                return "MaHoaDonBanSach";
            }
        }

        /// <summary>
        /// ngay lap hoa don
        /// </summary>
        public static string NgayLap {
            get {
                return "NgayLap";
            }
        }

        /// <summary>
        /// tong gia tri hoa don
        /// </summary>
        public static string TongGia {
            get {
                return "TongGia";
            }
        }

    }
}
